package org.brisling.satisfaction.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

@Entity
@Table(name=ConstSysParam.MODULE_SATISFACTION_BASE_INFO)
public class BaseSatisfactionInfo extends BaseMonitorDomain implements BaseDomainInf{

	
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="baseSatisfactionInfoGenerator")
	@TableGenerator(name="baseSatisfactionInfoGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_SATISFACTION_BASE_INFO,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	//窗口评价数量
	private Long satisfied_window_num;
	//住院问卷评价数
	private Long outinpatient_problem_num;
	//住院科室评价数
	private Long inpatient_dept_num;
	//住院问卷评价数
	private Long inpatient_problem_num;
	//窗口满意率
	private Double window_percent;
	//门诊问卷满意度
	private Double outinpatient_problem_percent;
	
	//住院科室满意度
	private Double inpatient_dept_percent;
	
	//住院问卷满意度
	private Double inpatient_problem_percent;
	
	private Double myl;

	public Long getSatisfied_window_num() {
		return satisfied_window_num;
	}

	public void setSatisfied_window_num(Long satisfied_window_num) {
		this.satisfied_window_num = satisfied_window_num;
	}

	public Long getOutinpatient_problem_num() {
		return outinpatient_problem_num;
	}

	public void setOutinpatient_problem_num(Long outinpatient_problem_num) {
		this.outinpatient_problem_num = outinpatient_problem_num;
	}

	public Long getInpatient_dept_num() {
		return inpatient_dept_num;
	}

	public void setInpatient_dept_num(Long inpatient_dept_num) {
		this.inpatient_dept_num = inpatient_dept_num;
	}

	public Long getInpatient_problem_num() {
		return inpatient_problem_num;
	}

	public void setInpatient_problem_num(Long inpatient_problem_num) {
		this.inpatient_problem_num = inpatient_problem_num;
	}

	public Double getWindow_percent() {
		return window_percent;
	}

	public void setWindow_percent(Double window_percent) {
		this.window_percent = window_percent;
	}

	public Double getOutinpatient_problem_percent() {
		return outinpatient_problem_percent;
	}

	public void setOutinpatient_problem_percent(Double outinpatient_problem_percent) {
		this.outinpatient_problem_percent = outinpatient_problem_percent;
	}

	public Double getInpatient_dept_percent() {
		return inpatient_dept_percent;
	}

	public void setInpatient_dept_percent(Double inpatient_dept_percent) {
		this.inpatient_dept_percent = inpatient_dept_percent;
	}

	public Double getInpatient_problem_percent() {
		return inpatient_problem_percent;
	}

	public void setInpatient_problem_percent(Double inpatient_problem_percent) {
		this.inpatient_problem_percent = inpatient_problem_percent;
	}

	public Double getMyl() {
		return myl;
	}

	public void setMyl(Double myl) {
		this.myl = myl;
	}
	
	
}
